home *** CD-ROM | disk | FTP | other *** search
- @echo off
- goto Start
- ┌───────────────
- │ UNZIP_PS.BAT █
- ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
-
- Thu 04-28-1994 22:32:34
- edited
- Sat 06-04-1994 20:51:40
-
- Used to decrypt files encrypted with ZIP_PASS.BAT. Requires
- PKUNZIP.EXE in this directory to do so.
-
- The Command:
-
- PKUNZIP %1 -s%2 %3
-
- command encrypt switch
- zip file name & PASSWORD files to unencrypt
-
- eg: UNZIP_PS TEST JOHN *.BAT
- (all if not %3, or
- use a List File,
- see below)
- n.b. Password is case sensitive.
-
-
- Can use a List file for argument %3 by:
-
- 1. Making a list file named LIST (or any name I think)
- 2. Using %3 argument as @LIST (or @FileName.txt... etc)
-
- Following is the help text found by using PKUNZIP/? Command.
-
- Took me awhile to figure out how to add a password using the "-s"
- option as there is no space between the option and the password.
- This information is in the 200K file MANUAL.DOC
-
- ────────────────── PKUNZIP.EXE HELP FOLLOWS ──────────────────
-
- PKUNZIP (R) FAST! Extract Utility Version 2.04e 01-25-93
- Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware Version
- PKUNZIP Reg. U.S. Pat. and Tm. Off.
-
- Usage: PKUNZIP [options] zipfile [@list] [files...]
-
- -c[m] extract files to Console [with More]
- -d restore/create Directory structure stored in .ZIP file
- -e[c|d|e|n|p|r|s] Extract files. Sort by [CRC | Date | Extension | Name
- | Percentage | Reverse | Size]
- -f Freshen files in destination directory
- -j|J<h,r,s> mask|don't mask <Hidden/System/Readonly> files (def.=jhrs)
- -n extract only Newer files
- -o Overwrite previously existing files
- -p[a/b][c][#] extract to Printer [Asc mode,Bin mode,Com port] [port #]
- -q Enable ANSI comments
- -s[pwd] Decrypt with password [If no pwd is given, prompt for pwd]
- -t Test .ZIP file integrity
- -v[b][r][m][t] View .ZIP [Brief][Reverse][More][Technical] sort by [CRC|
- [c,d,e,n,o,p,s] Date|Extension|Name|natural Order(default)|Percentage|Size]
- -x<filespec> eXclude file(s) from extraction
- -$ Restore volume label on destination drive
- -@listfile Generate list file
-
- :Start
- if not exist pkunzip.exe goto Missing
- pkunzip %1 -s%2 %3
- pause
- goto End
- :Missing
- rem if pkunzip.exe is in your PATH, "rem out" the "if not exist" line
- cls
- echo.
- echo.
- echo █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
- echo █ UNZIP_PS.BAT █▒▒
- echo █ █▒▒
- echo █ PURPOSE: Decrypt a file, with PKUNZIP.EXE █▒▒
- echo █ █▒▒
- echo █ █▒▒
- echo █ COMMAND: UNZIP_PS FileName Passwd *.txt █▒▒
- echo █ █▒▒
- echo █ █▒▒
- echo █ WARNING: Can't find PKUNZIP.EXE █▒▒
- echo █ Can't run this batch file █▒▒
- echo █ █▒▒
- echo █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▒▒
- echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- echo.
- echo
- pause
- :End
-